From: Jonas Dreßler Date: Sun, 16 Feb 2020 20:57:34 +0000 (+0100) Subject: dateMenu: Hide overlay scrollbar in the notification popup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~101 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8b0a67fe64c057a60f81cf47e0438eef8b408ec3;p=gnome-shell.git dateMenu: Hide overlay scrollbar in the notification popup Since the design of the notification popup changed with the theme refactor and there are now boxes around the world-clock and weather sections, the overlay scrollbar that is shown above them looks rather bad. So simply hide that scrollbar, we still have the vfade effect to indicate the container is scrollable and we also depend on that in the new popup app-folders. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1013 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 385cee469..8fb56b192 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -630,7 +630,7 @@ class DateMenuButton extends PanelMenu.Button { this._displaysSection = new St.ScrollView({ style_class: 'datemenu-displays-section vfade', x_expand: true, overlay_scrollbars: true }); - this._displaysSection.set_policy(St.PolicyType.NEVER, St.PolicyType.AUTOMATIC); + this._displaysSection.set_policy(St.PolicyType.NEVER, St.PolicyType.EXTERNAL); vbox.add_actor(this._displaysSection); let displaysBox = new St.BoxLayout({ vertical: true,